<?php
  include("../conn/conn.php");
  $title=$_POST[title];
  $content=$_POST[EditorDefault];
  $time=date("Y-m-j H:i:s");

  mysql_query("update tb_aboutus set title='$title',content='$content',time='$time' where id='".$_POST[id]."'",$conn);
  echo "<script>alert('修改成功!');window.location.href='../adminaboutus.php';</script>";
?>